@activeProcess: false;

@default-bg: rgba(234, 234, 234, 0.6);
@default-arrow: rgb(234, 234, 234);

@active-bg: #d3ebe7;
@active-arrow: #009688;
@bgColor: @default-bg;
@arrowColor: @default-arrow;
.contentContainer {
  width: 100%;
  height: 75vh;
}

.flowChatBox {
  display: flex;
  min-height: 570px;
  height: 100%;
  align-items: center;
  padding:10px 20px;
  box-sizing: border-box;
}

.flowChatTitle {
  width: 60px;
  padding: 30px 20px;
  font-size: 20px;
  color: #727477;
  display: flex;
  height: 60%;
  align-items: center;
  background: #cceae7;
  box-sizing: border-box;
}

.flowChatInfo {
  flex: 1;
  margin-left: 40px;
}

.flowChatContainer {
  position: relative;
  font-size: 14px;
  color: #727477;
  display: flex;
  flex-wrap: nowrap;
}

.currency {
  width: 100px;
  padding: 10px 16px;
  background: @bgColor;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: center;
}

.firstPhase {
  position: relative;
  display: flex;
  height: 42px;
}

.submitBtn {
  display: flex;
  align-items: center;
  height: 42px;
  width: 100px;
}

.leftLine,
.rightLineAndArrow {
  position: relative;
  border-top: 2px dotted;
  border-color: @arrowColor;
  flex: 1;
}

.leftLine::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}

.rightLineAndArrow::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -9px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid @arrowColor;
  transform: translateX(-100%);
}

.noPass {
  position: absolute;
  display: flex;
  width: 210px;
  height: 40px;
  top: -42px;
  align-items: center;
  justify-content: flex-start;
  left: 55px;
  margin: auto;
}

.noPassRight,
.noPassLeft {
  flex: 1;
  height: 20px;
  border-top: 2px dotted @arrowColor;
  position: relative;
  top: 10px;
}

.noPassRight {
  border-left: 2px dotted @arrowColor;
}

.noPassLeft {
  border-right: 2px dotted @arrowColor;
}

.noPassRight::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid @arrowColor;
  transform: translateX(-100%);
}

.noPassLeft:before {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.secondPass {
  position: relative;
}
.sampleStorage {
  position: absolute;
  left: 10%;
  top: 21px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.leftLineBtn{
  width: 80px;
  position: relative;
  border-top: 2px dotted @arrowColor;
}
.leftLineBtn::before{
  content: '';
  position: absolute;
  top: -4px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.leftLineBtn::after{
  content: '';
  position: absolute;
  top: -10px;
  right: 0px;
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-top: 9px solid transparent;
  border-left: 9px solid @arrowColor;
}
.downLine {
  height: 50px;
  border-left: 2px dotted @arrowColor;
  position: relative;
}
.downLine:before {
  content: '';
  position: absolute;
  top: -3px;
  right: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.downLine:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid @arrowColor;
  transform: translateX(-100%);
}
.taskAllocation {
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lineSubmitBtn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 110px;
}

.topLine,
.bottomLineAndArrow {
  position: relative;
  border-left: 2px dotted @arrowColor;
  flex: 1;
}

.topLine:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}

.bottomLineAndArrow:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 9px solid @arrowColor;
  transform: translateX(-100%);
}
.thirdPass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rightwards {
  position: absolute;
  left: 50px;
  top: 60px;
  display:flex;
}

.rightwardsSubmitBtn {
 /*position: absolute;*/
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: flex-start;
  width: 100px;
}
.rightwardLleftLine,
.rightwarRrightLineAndArrow {
  flex: 1;
  height: 30px;
  border-top: 2px dotted @arrowColor;
  position: relative;
  top: 14px;
}
.rightwardLleftLine::before{
  content: '';
  position: absolute;
  top: -4px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}

.rightwarRrightLineAndArrow {
  border-right: 2px dotted @arrowColor;
}

.rightwarRrightLineAndArrow:before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -10px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid @arrowColor;
  // transform: translateX(-100%);
}
.deviceRun,.sampleRecord{
  position: absolute;
  top: 55px;
}
.deviceRun{
  left: 60px;
}
.sampleRecord{
  left:160px;
}
.reportInfo{
  position: absolute;
  left: 0px;
  bottom: 8px;
  height: 50px;
  display: flex;
  flex-direction:row-reverse;
  align-items: center;
  justify-content: center;
}
.towardsLeftArrow{
  width: 40px;
  position: relative;
  border-top: 2px dotted @arrowColor;
}
.towardsLeftArrow::before{
  content: '';
  position: absolute;
  top: -4px;
  right: -7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.towardsLeftArrow::after{
  content: '';
  position: absolute;
  top: -10px;
  left: 0px;
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-top: 9px solid transparent;
  border-right: 9px solid @arrowColor;
}
.rightTowardsLeftArrow{
  margin-left: 40px;
}
.judgeItem{
  position: relative;
}
.judgeItemInfo{
  position: relative;
  width: 90px;
  height: 90px;
  background-color: @bgColor;
  transform: rotate(45deg);
  padding:10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 20px;
}
.judgeItemInfo span{
  display: block;
  transform: rotate(-45deg);
  text-align: center;
}
.longSubmit{
  position: absolute;
  bottom: 106px;
  left: 59px;
  display: flex;
  flex-direction: column;
  // align-items: center;
  justify-content: center;
  height: 196px;
  width: 100px;
}
.topLineAndArrow,.bottomCircle{
  position: relative;
  left:5px;
  flex:1;
  border-left:2px dotted @arrowColor;
}
.topLineAndArrow{
  border-top:2px dotted @arrowColor;
}
.topLineAndArrow::before{
  content: '';
  position: absolute;
  top: -10px;
  right: 0px;
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-top: 9px solid transparent;
  border-left: 9px solid @arrowColor;
}
.bottomCircle::after{
  content: '';
  position: absolute;
  bottom: -0px;
  left:3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.leftSubmitBtn{
  width: 80px;
  display: flex;
  align-items: center;
}
.leftNoPassBtn{
  width: 60px;
}
.leftLineAndArrow,.rightLineAndCircle{
  flex: 1;
  position: relative;
  border-top: 2px dotted @arrowColor;
}
.leftLineAndArrow::before{
  content: '';
  position: absolute;
  top: -10px;
  left: 0px;
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-top: 9px solid transparent;
  border-right: 9px solid @arrowColor;
}
.rightLineAndCircle::after{
  content: '';
  position: absolute;
  bottom: -3px;
  right:-9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%);
}
.reportPhase{
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  height: 42px;
}
.reportNoPass{
  width: 176px;
  position: absolute;
  display: flex;
  height: 40px;
  top: -42px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row-reverse;
  left: 40px;
  margin: auto;
}
.reportNoPassRight,
.reportNoPassLeft {
  flex: 1;
  height: 20px;
  border-top: 2px dotted @arrowColor;
  position: relative;
  top: 10px;
}

.reportNoPassRight {
  border-right: 2px dotted @arrowColor;
}

.reportNoPassLeft {
  border-left: 2px dotted @arrowColor;
}

.reportNoPassRight::before {  
  content: '';
  position: absolute;
  bottom: -2px;
  right: -10px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid @arrowColor;
}

.reportNoPassLeft::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%); 
}
.ratifyNoPass{
  width: 164px;
  position: absolute;
  display: flex;
  height: 40px;
  bottom: -42px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row-reverse;
  right: -42px;
  margin: auto;
}
.ratifyNoPassRight,
.ratifyNoPassLeft {
  flex: 1;
  height: 20px;
  border-bottom: 2px dotted @arrowColor;
  position: relative;
  top: -10px;
}

.ratifyNoPassRight {
  border-right: 2px dotted @arrowColor;
}

.ratifyNoPassLeft {
  border-left: 2px dotted @arrowColor;
}

.ratifyNoPassRight::before {  
  content: '';
  position: absolute;
  top: -2px;
  right: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid @arrowColor;
}

.ratifyNoPassLeft::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: @arrowColor;
  transform: translateX(-100%); 
}
.firstSubmitBtn{
  width:120px;
}
.finalSubmitBtn{
  width: 240px;
}
.basicModalBox{
  width:1200px;
}
/*选中样式修改*//*
@active-bg: #d3ebe7;
@active-arrow: #009688;*/
.activeProcessed.currency,.activeProcessed.judgeItemInfo{
  background: @active-bg;
}

.currentActive.currency{
  background: @active-arrow;
  box-shadow: 0px 0px 9px 1px #4ff3eb;
  color: #FFFFFF;
  opacity: 0.8;
}
.activeProcessed{
  .leftLine,.rightLineAndArrow,.noPassRight, .noPassLeft,.rightwardLleftLine,.rightwarRrightLineAndArrow,.topLine,.bottomLineAndArrow,.topLineAndArrow,.bottomCircle,
  .leftLineAndArrow, .rightLineAndCircle,.reportNoPassRight, .reportNoPassLeft,.ratifyNoPassRight,.ratifyNoPassLeft{
    border-color:@active-arrow;
  }
  .rightLineAndArrow::after,.topLineAndArrow::before {
    border-left-color: @active-arrow;
  }
  .leftLine::before,.noPassLeft::before,.rightwardLleftLine::before,.topLine:before,.bottomCircle::after,
  .rightLineAndCircle::after,.reportNoPassLeft::after,.ratifyNoPassLeft::after{
    background: @active-arrow;
  }
  .submitText,.noPassText{
    color:@active-arrow;
  }
  .noPassRight::before,.reportNoPassRight::before,.rightwarRrightLineAndArrow::before,.bottomLineAndArrow:before{
    border-top-color:@active-arrow;
  }
  &.downLine{
    border-color: @active-arrow;
    &::before{
      background-color:@active-arrow;
    }
    &::after{
      border-top-color:@active-arrow;
    }
  }
  &.towardsLeftArrow{
    border-color: @active-arrow;
    &::before{
      background-color:@active-arrow;
    }
    &::after{
      border-right-color:@active-arrow;
    }
  }
  .leftLineAndArrow::before{
    border-right-color:@active-arrow;
  }
  .ratifyNoPassRight::before{
    border-bottom-color:@active-arrow;
  }
  &.sampleStorageLine{
    border-color: @active-arrow;
    &::before{
      background-color:@active-arrow;
    }
    &::after{
      border-left-color:@active-arrow;
    }
  }
}


/*监督单样式*/
.superviseFlow {
  padding:10px 30px;
  .flowChatInfo{
    height:100%;
    margin-left:50px;
    display: flex;
    align-items: center;
  }
  .flowChatContainer{
    // align-items: center;
    display: block;
  }
  .firstLine{
    display: flex;
    // align-items: center;
    height:430px;
    padding-top:130px;
  }
  .currency{
    width: 105px;
  }
  .sampleStorage{
    left:-85px;
    top: 5px;
    flex-direction: row;
    justify-content: center;
  }
  .firstPhase {
    align-items:center;
  }

  .sampleStorageLine{
    border-bottom: 2px dotted @arrowColor;
    border-left: 2px dotted @arrowColor;
    height: 60px;
    width:85px;
    position:relative;
  }
  .sampleStorageLine::before{
    content: '';
    position: absolute;
    top: -3px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: @arrowColor;
    transform: translateX(-100%);
  }
  .sampleStorageLine::after{
    content: '';
    position: absolute;
    bottom: -9px;
    right: -9px;
    width: 0;
    height: 0;
    border-bottom: 9px solid transparent;
    border-top: 9px solid transparent;
    border-left: 9px solid @arrowColor;
    transform: translateX(-100%); 
  }
  .sampleStorageText{
    margin-top: 60px;
  }
  .leftLineBtn{
    width: 80px;
    position: relative;
    border-top: 2px dotted @arrowColor;
  }
  .leftLineBtn::before{
    content: '';
    position: absolute;
    top: -4px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: @arrowColor;
    transform: translateX(-100%);
  }
  .leftLineBtn::after{
    content: '';
    position: absolute;
    top: -10px;
    right: 0px;
    width: 0;
    height: 0;
    border-bottom: 9px solid transparent;
    border-top: 9px solid transparent;
    border-left: 9px solid @arrowColor;
  }
  .experimentStep{
    position: relative;
    // display: flex;
  }
  .topWards{
    top: -105px;
    left: 37px;
    height:100px;
    position: absolute;
    display:flex;
    flex-direction: column;
  }
  .topwardsSubmitBtn{
    width:154px;
    height:40px;
    display: flex;
    flex-direction: column;
    &:first-child{
      height:60px;
    }
  }
  .topwardLleftLine,.topwarRrightLineAndArrow{
    border-left:2px dotted @arrowColor;
    position: relative;
    flex: 1;
    margin-left:15px;
  }
  .topwardLleftLine{
    border-top: 2px dotted @arrowColor;
  }
  .topwardLleftLine::before{
    content: '';
    position: absolute;
    top: -10px;
    right: 0px;
    width: 0;
    height: 0;
    border-bottom: 9px solid transparent;
    border-top: 9px solid transparent;
    border-left: 9px solid @arrowColor;
  }
  .topwarRrightLineAndArrow::before{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: @arrowColor;
    transform: translateX(-100%);
  }
  .deviceRun{
    height: 42px;
    position:absolute;
    left:154px;
    top: 40px;
  }
  .sampleRecord{
    height: 42px;
    position:absolute;
    left:154px;
    top: -20px;
  }
  .experimentalReview{
    position: relative;
  }
  .experimentalReviewInfo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
  }
  .judgeItemInfo{
    left:0;
    top:24px;
  }
  .lineSubmitBtn{
    margin-top:48px;
    height: 70px;
  }
  .experimentalsubmit{
    position: absolute;
    bottom:10px;
    right: 110px;
    display: flex;
    justify-content: center;
    align-items: flex-end ;
    height: 130px;
    width: 328px;
  }
  .rightCircle,.leftTopLineAndArrow{
    position: relative;
    border-bottom: 2px dotted @arrowColor;
    flex:1;
    margin-bottom: 10px;
  }
  .rightCircle{
    border-left:2px dotted @arrowColor;
    height: 110px;
  }
  .leftTopLineAndArrow::before{
    content: '';
    position: absolute;
    bottom: -4px;
    right: -9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: @arrowColor;
    transform: translateX(-100%);
  }
  .rightCircle::before{
    content: '';
    position: absolute;
    top: 0;
    left: -9px;
    width: 0;
    height: 0;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    border-bottom: 9px solid @arrowColor;
  }
  .reportInfo{
    position: relative;
    bottom: 0;
    justify-content: flex-end;
  }
  .leftSubmitBtn{
    width:150px;
  }
  .towardsLeftArrow{
    width:120px;
  }
  .ratifyNoPass{
    right:auto;
    width:260px;
  }
  .reportNoPass{
    width: 260px;
    left: initial;
    right: -55px;
  }
  .downLine{
    height: 40px;
  }

  .activeProcessed{
    .rightCircle,.leftTopLineAndArrow,.topwardLleftLine,.topwarRrightLineAndArrow{
      border-color:@active-arrow;
    }
    .rightCircle::before {
      border-bottom-color: @active-arrow;
    }
    .leftTopLineAndArrow::before,.topwarRrightLineAndArrow::before{
      background: @active-arrow;
    }
    .topwardLleftLine::before{
      border-left-color:@active-arrow;
    }
    // .submitText,.noPassText{
    //   color:@active-arrow;
    // }
    // .noPassRight::before,.reportNoPassRight::before,.rightwarRrightLineAndArrow::before,.bottomLineAndArrow:before{
    //   border-top-color:@active-arrow;
    // }
    // &.downLine{
    //   border-color: @active-arrow;
    //   &::before{
    //     background-color:@active-arrow;
    //   }
    //   &::after{
    //     border-top-color:@active-arrow;
    //   }
    // }
    // &.towardsLeftArrow{
    //   border-color: @active-arrow;
    //   &::before{
    //     background-color:@active-arrow;
    //   }
    //   &::after{
    //     border-right-color:@active-arrow;
    //   }
    // }
    // .leftLineAndArrow::before{
    //   border-right-color:@active-arrow;
    // }
    // .ratifyNoPassRight::before{
    //   border-bottom-color:@active-arrow;
    // }
    &.sampleStorageLine,&.leftLineBtn{
      border-color: @active-arrow;
      &::before{
        background-color:@active-arrow;
      }
      &::after{
        border-left-color:@active-arrow;
      }
    }
  }


}






@media screen and (min-width: 768px) and (max-width: 1920px) {
  .currency{
    width:80px;
    padding:10px;
  }
  .submitBtn{
    width: 100px;
  }
  .firstSubmitBtn{
    width:140px;
  }
  .finalSubmitBtn{
    width: 210px;
  }
  .taskAllocation{
    width:90px;
  }
  .flowChatInfo{
    margin-left: 30px;
  }
  .noPass{
    left: 55px;
  }
  .rightwards{
    left:45px;
  }
  .judgeItemInfo{
    width: 90px;
    height: 90px;
  }
  .editReport{
    width: 106px;
    padding:10px 0;
  }
}